import { computed } from 'vue'
import { defineStore } from 'pinia'
import { useLocalStorage } from '@vueuse/core'

export const usePlayerStore = defineStore('player', () => {
  const playbackRate = ref(1)

  function changePlaybackrate(value) {
    playbackRate.value = value
  }
  return {
    playbackRate,
    changePlaybackrate,
  }
})
